/*
 * @Author: yushuaixm
 */
const { http } = uni.$zz

// 获取服务器数据时间安排
export const getDateJSON = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.post('wx/bstime/getDateJSON', params, config)

// 初始化对应日期的帮手基础数据
export const inBsTimeData = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.post('wx/bstime/inBsTimeData', params, config)



export const updateBsTimestatus = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.post('wx/bstime/updateBsTimestatus', params, config)


export const showBsTimeDataForDate = (
  params?: any,
  config = {
    custom: {
      catch: true
    }
  }
) => http.post('wx/bstime/showBsTimeDataForDate', params, config)


export default { getDateJSON, inBsTimeData, updateBsTimestatus, showBsTimeDataForDate };


